import React, { Component } from 'react'
import store from '../store'
import redux from "../store"

export default class video extends Component {
    render() {
        return (
            <div>
                {store.getState().num}
                <button onClick={() => {
                    store.dispatch({
                        type: "+",
                        payload: 10
                    })
                    this.forceUpdate()
                }}>+</button>
            </div>
        )
    }
}
